/**
 * 
 */
package com.ez.supervise.dao;

import java.util.List;

import com.ez.supervise.core.Page;
import com.ez.supervise.dao.base.BaseDao;
import com.ez.supervise.model.biz.OrgCheck;

/**
 * @author searph.wang
 * @email searph.wang@gmail.com
 * @Created at 2009-7-22
 * 
 */
public interface OrgCheckDao extends BaseDao {

    /**
     * @return
     */
    List findAll();

    /**
     * @param type
     * @return
     */
    List findGoalByType(String type);

    List findOrgCheckByPage(Page page);

    int findOrgCheckByCount(Page page);

    List findOrgCheckSettingByPage(Page page);

    int findOrgCheckSettingByCount(Page page);

    int countExisOrgCheck(OrgCheck orgCheck);

    void deleteOrgCheckSetting(Long id);

    List findOrgCheckSelfByPage(Page page);

    int findOrgCheckSelfByCount(Page page);

    List findOrgCheckAuditByPage(Page page);

    int findOrgCheckAuditByCount(Page page);

}
